path_get_kind(index);
参数 | 描述 |
---|---|
index | The index of the path to check. |
返回: Boolean(布尔值)
Paths can be either smooth or straight (a smooth
path calculates a curved path around the defining points, whereas a
straight path just goes straight from one point to another). This
function can be used to find out whether the given path is smooth
(true) or not (false).
kind = path_get_kind(c_path);
This will set "state" to either true or false depending on the state of path0.